package org.example.main.entity;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(name = "Admin",description = "管理员实体")
public class Admin {

  @Schema(name = "adminId",description = "管理员id")
  private long adminId;

  @Schema(name = "username",description = "管理员名")
  private String username;

  @Schema(name = "password",description = "管理员密码")
  private String password;

  @Schema(name = "phone",description = "管理员电话")
  private String phone;

  @Schema(name = "email",description = "管理员邮箱")
  private String email;

  @Schema(name = "publicKey",description = "公钥")
  private String publicKey;

  @Schema(name = "privateKey",description = "私钥")
  private String privateKey;

  public long getAdminId() {
    return adminId;
  }

  public void setAdminId(long adminId) {
    this.adminId = adminId;
  }


  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getPublicKey() {
    return publicKey;
  }

  public void setPublicKey(String publicKey) {
    this.publicKey = publicKey;
  }

  public String getPrivateKey() {
    return privateKey;
  }

  public void setPrivateKey(String privateKey) {
    this.privateKey = privateKey;
  }

}
